import shutil
import os

# 拷贝文件
shutil.copyfile(__file__, "/tmp/shutil_copy.py")

# 递归拷贝整个目录
shutil.copytree(
    os.getcwd(),
    "/tmp/python全栈",
    ignore=shutil.ignore_patterns(".git/", ".vscode/", "venv/"),
)
